Adding Transformation and Lookup Details

You can add transformation and lookup details to a mapping specification in the Mapping Specification grid.

Adding transformation details involves setting up:

  • Business rule
  • Extended business rule transformation

Ensure that you define business rules under the Transformations node for the same ETL Option as the Project ETL. For more information on defining business rules, refer to the Defining Transformations section.

Adding lookup details involves setting up:

  • Trans lookup condition
  • Lookup reference column
  • Lookup on

Ensure that you scan the required table in the Metadata Manager to set trans lookup condition.

Adding Transformation Details

To add business rules to mapping specifications, follow these steps:

  1. Go to Application Menu > Data Catalog > Mapping Manager.
  2. In the Workspace Mappings pane, click a map.
  3. By default, it opens the Mapping Specification tab.

  4. Right-click the header menu of the Mapping Specification grid.
  5. Select the Business Rule check box.
  6. The Business Rule column is now available in the Mapping Specification grid.

  7. Click .
  8. You can now edit the Mapping Specification grid.

  9. Double-click the cell under the Business rule column for the required source column.
  10. The available transformations appear.

  11. Select a business rule.
  12. You can add business rules for multiple source columns.

  13. Click .
  14. The business rules are added to the mapping specification.

To add extended business rule transformations, follow these steps:

  1. Right-click the header menu of the Mapping Specification grid.
  2. Select the Extended Business Rule Transformation check box.
  3. The Extended Business Rule Transformation column is now available in the Mapping Specification grid.

  4. Click .
  5. You can now edit the Mapping Specification grid.

  6. Click .
  7. The available options appear.

  8. Select the Extended Business Rule check box.
  9. In the Mapping Specification grid, double-click the cell under the Extended Business rule Transformation column for the required source column.
  10. The Extended Transformation Rule Editor page appears.

  11. Select a pseudocode based on the Project ETL.
  12. For example, if the Project ETL is Informatica then select Informatica Pseudocode.

  13. Press Ctrl + Space keys.
  14. The available transformations appear.

    If the required transformation is not available in the list, use to create and update the transformations list.

  15. Double-click the required transformation.
  16. You can use to replace the transformation name with the pseudocode.

  17. Click .
  18. The extended business rule transformation is added to the source column. You can add extended business rule transformation to multiple source columns. You can also configure UI labels for user defined fields. For more information on configuring UI labels, refer to the Configuring Language Settings topic.

Adding Lookup Details

To add lookup details in mapping specifications, follow these steps:

  1. Right-click the header menu of the mapping specification grid.
  2. Select Lookup Reference Column, Lookup On, and Trans Lookup Condition.
  3. Drag the required table from the Metadata Tree View pane and drop it under the Trans Lookup Condition column for the required source column.
  4. A SQL query populates.

    Once trans lookup condition is set for the source column, you can add lookup reference column and lookup on.

    To add lookup reference column, double-click the cell under the Lookup Reference Column column and select the required option.

    To add lookup on, double-click the cell under the Lookup On column and select the required option.

  5. Click .
  6. The lookup details are added in the Mapping Specification. You can add lookup details for multiple source columns.

Alternately, you can add transformation and lookup details to a mapping specification graphically. For more information about adding transformation and lookup details graphically, refer to the Graphical Designer topic.